
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="__PUBLIC__/css/common.css">
<link rel="stylesheet" href="__PUBLIC__/css/main.css">
<script type="text/javascript" src="__PUBLIC__/js/jquery.min.js"></script>
<script type="text/javascript"
	src="__PUBLIC__/js/colResizable-1.3.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>

<script type="text/javascript">
      $(function(){  
        $(".list_table").colResizable({
          liveDrag:true,
          gripInnerHtml:"<div class='grip'></div>", 
          draggingClass:"dragging", 
          minWidth:30
        }); 
        
      }); 
   </script>
<title>课程分类列表</title>
</head>
<body>
<!--
 登陆成功{{$_SESSION['user']['username']}}
 -->
<div id="search_bar" class="mt10">
<div class="box">
<div class="box_border">
<div class="box_top"><b class="pl15">搜索</b></div>
<div class="box_center pt10 pb10">
<form id="form" class="" action="{{:U('Course/courseTypeList')}}"
	method="post">
<table class="form_table" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td>课程分类名称</td>
		<td><input type="text" name="course_type"
			value="{{$course_type}}" class="input-text lh25" size="30"></td>
		<td><input type="submit" class="btn btn82 btn_search" value="查询"></td>
	</tr>
</table>
</form>
</div>
</div>
</div>
</div>
<div id="table" class="mt10">
<div class="box span10 oh">
<table width="100%" border="0" cellpadding="0" cellspacing="0"
	class="list_table">
	<tr class="tr">
		<th width="80px;">序号</th>
		<th>课程分类名称</th>
		<th width="150px">操作</th>
	</tr>
	<foreach name="list" item="vo">
	<tr class="tr">
		<td class="td_center">{{$key+1}}</td>
		<td class="td_center">{{$vo.course_type}}</td>
		<td class="td_center"><a
			href="{{:U('Course/courseTypeEditView')}}?id={{$vo.id}}&p={{$p}}">修改</a>
		<a href="{{:U('Course/courseTypeDel')}}?id={{$vo.id}}&p={{$p}}"
			onclick="return del();">删除</a></td>
	</tr>
	</foreach>
</table>
<div class="page mt10" align='right'>
<div class="pagination">{{$page}}&nbsp;&nbsp;&nbsp;&nbsp;</div>

</div>
</div>
</div>
<script type="text/javascript">
        function del()
        {
            if (confirm("确定要删除吗？" ))
            {
                return true ;
            }
            else
            {
                return false ;
            }
        }
	 </script>
</body>
